package com.mc.VO;

/**
 * @author wangcf
 * @version 1.0
 * @Description 参与团队成绩视图类
 * @date 2023/2/15 11:38
 */
public class ScoreVO {

    /**
     * 教师编号
     */
    private int tid;

    /**
     * 教师名称
     */
    private String tname;

    /**
     * 团队编号
     */
    private int teamid;

    /**
     * 团队名称
     */
    private String teamname;

    /**
     * 参赛编号
     */
    private int matchcode;

    /**
     * 赛事编号
     */
    private int mid;

    /**
     * 赛事名称
     */
    private String mname;

    /**
     * 所有评委对此的评分总和
     */
    private int sumscore;

    /**
     * 学生编号
     */
    private int sid;

    /**
     * 学生姓名
     */
    private String sname;

    @Override
    public String toString() {
        return "ScoreVO{" +
                "tid=" + tid +
                ", tname='" + tname + '\'' +
                ", teamid=" + teamid +
                ", teamname='" + teamname + '\'' +
                ", matchcode=" + matchcode +
                ", mid=" + mid +
                ", mname='" + mname + '\'' +
                ", sumscore=" + sumscore +
                ", sid=" + sid +
                ", sname='" + sname + '\'' +
                '}';
    }


    public ScoreVO(int teamid, String teamname, int matchcode, int mid, String mname, int sumscore, int sid, String sname) {
        this.teamid = teamid;
        this.teamname = teamname;
        this.matchcode = matchcode;
        this.mid = mid;
        this.mname = mname;
        this.sumscore = sumscore;
        this.sid = sid;
        this.sname = sname;
    }

    public ScoreVO(int tid, String tname, int teamid, String teamname, int matchcode, int mid, String mname, int sumscore) {
        this.tid = tid;
        this.tname = tname;
        this.teamid = teamid;
        this.teamname = teamname;
        this.matchcode = matchcode;
        this.mid = mid;
        this.mname = mname;
        this.sumscore = sumscore;
    }
    public ScoreVO() {
    }

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public int getTeamid() {
        return teamid;
    }

    public void setTeamid(int teamid) {
        this.teamid = teamid;
    }

    public String getTeamname() {
        return teamname;
    }

    public void setTeamname(String teamname) {
        this.teamname = teamname;
    }

    public int getMatchcode() {
        return matchcode;
    }

    public void setMatchcode(int matchcode) {
        this.matchcode = matchcode;
    }

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public int getSumscore() {
        return sumscore;
    }

    public void setSumscore(int sumscore) {
        this.sumscore = sumscore;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }
}
